﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Netfraction.ShareManager
{
    /// <summary>
    /// A Virtual File System Node
    /// </summary>
   public class VFSNode
    {
        private VFSNode mParent;
        private string mName;
        private DateTime mLastWriteTime;

        public VFSNode(VFSNode parent, string name, DateTime lastWriteTime)
        {
            this.mParent = parent;
            this.mName = name;
            this.mLastWriteTime = lastWriteTime;
        }

        public VFSNode Parent
        {
            get { return mParent; }
            set { mParent = value; }
        }

        public string Name
        {
            get { return mName; }
            set { mName = value; }
        }

        public DateTime LastWriteTime
        {
            get { return mLastWriteTime; }
            set { mLastWriteTime = value; }
        }
    }
}
